
*FIGURE 2

use synth3_615.dta, clear
graph twoway (line _Y_treated _time, title("Child care") ytitle("Share child care") legend(order(1 2) label(1 "Flå" )region(lwidth(none))) xtitle("Year") color(black) graphr(color(white)) plotregion(style(none)))(line _Y_synthetic _time,color(black) lp(dash)legend(order(1 2) label(2 "Synthetic control unit" )region(lwidth(none)))) (scatteri 0 1995 10 1995,  c(l) lp(dash_dot ) lw(thin) m(i)legend(order(1 2) region(lwidth(none))))
graph save Graph "childcare.gph", replace
graph export "childcare.pdf", as(pdf) replace

use synthed9_615.dta, clear
graph twoway (line _Y_treated _time, title("Education") ytitle("Share Education") legend(order(1 2) label(1 "Flå" )region(lwidth(none))) xtitle("Year") color(black) graphr(color(white)) plotregion(style(none)))(line _Y_synthetic _time,color(black) lp(dash)legend(order(1 2) label(2 "Synthetic control unit" )region(lwidth(none)))) (scatteri 0 1995 40 1995,  c(l) lp(dash_dot ) lw(thin) m(i)legend(order(1 2) region(lwidth(none))))
graph save Graph "education.gph", replace
graph export "education.pdf", as(pdf) replace

use synthel9_615.dta, clear
graph twoway (line _Y_treated _time, title("Elderlycare") ytitle("Share Elderlycare") legend(order(1 2) label(1 "Flå" )region(lwidth(none))) xtitle("Year") color(black) graphr(color(white)) plotregion(style(none)))(line _Y_synthetic _time,color(black) lp(dash)legend(order(1 2) label(2 "Synthetic control unit" )region(lwidth(none)))) (scatteri 0 1995 40 1995,  c(l) lp(dash_dot ) lw(thin) m(i)legend(order(1 2) region(lwidth(none))))
graph save Graph "elderly.gph", replace
graph export "elderly.pdf", as(pdf) replace

use synthhe3_615.dta, clear
graph twoway (line _Y_treated _time, title("Health care") ytitle("Share health care") legend(order(1 2) label(1 "Flå" )region(lwidth(none))) xtitle("Year") color(black) graphr(color(white)) plotregion(style(none)))(line _Y_synthetic _time,color(black) lp(dash)legend(order(1 2) label(2 "Synthetic control unit" )region(lwidth(none)))) (scatteri 0 1995 20 1995,  c(l) lp(dash_dot ) lw(thin) m(i)legend(order(1 2) region(lwidth(none))))
graph save Graph "health.gph", replace
graph export "health.pdf", as(pdf) replace

graph combine "childcare.gph" "education.gph" "elderly.gph" "health.gph", c(2) r(2)
graph save Graph "treat_comb.gph", replace
graph export "treat_comb.pdf", as(pdf) replace
